<g:hiddenField name="formworkCategoryId"/>
<g:hiddenField name="composition_a"/>
<g:hiddenField name="composition_b"/>
<g:hiddenField name="id"/>
<div class="fieldcontain">
    <label for="name">
        <g:message code="formwork.name.label" default="名称"/>

    </label>
    <g:textField name="name" class="easyui-validatebox" required="true"/>
</div>
<div class="fieldcontain ">
    <label for="description">
        <g:message code="formwork.description.label" default="备注"/>

    </label>
    <g:textField name="description" />
</div>
<div style="clear: both"></div>
<div id="formwork_container" class="easyui-tabs" tools="#tab-tools" style="margin-top:10px;width:560px;">
    <div title="A面" style="padding:10px;">
        <div class="easyui-layout" style="height:240px;">

            <div region="west" style="width:100px;border-right-width: 0;">
                <ul id="tta" class="easyui-tree" animate="true">

                </ul>
            </div>
            <div region="center">
                <div style="height:190px;padding: 5px;overflow-y:auto;border-bottom:1px solid #99BBE8" id="aCompositionContainer"></div>
                <div style="padding: 5px 0 2px 0;text-align: center;">
                    <a href="javascript:void 0" class="easyui-linkbutton select-a-composition">选择布局</a>
                    <a href="javascript:void 0" class="easyui-linkbutton select-a-composition-ok" style="display: none">设定</a>
                    <a href="javascript:void 0" class="easyui-linkbutton select-a-composition-cancel" style="display: none">取消</a>
                    <a href="javascript:void 0" class="easyui-linkbutton select-a-composition-num-ok" style="display: none">设定</a>
                </div>
            </div>
        </div>
    </div>
    <div title="B面" style="padding:10px;">
        <div class="easyui-layout" style="height:240px;">

            <div region="west" style="width:100px;border-right-width: 0;">
                <ul id="ttb" class="easyui-tree" animate="true">

                </ul>
            </div>
            <div region="center">
                <div style="height:190px;padding: 5px;overflow-y:auto;border-bottom:1px solid #99BBE8" id="bCompositionContainer"></div>
                <div style="padding: 5px 0 2px 0;text-align: center;">
                    <a href="javascript:void 0" class="easyui-linkbutton select-b-composition">选择布局</a>
                    <a href="javascript:void 0" class="easyui-linkbutton select-b-composition-ok" style="display: none">设定</a>
                    <a href="javascript:void 0" class="easyui-linkbutton select-b-composition-cancel" style="display: none">取消</a>
                    <a href="javascript:void 0" class="easyui-linkbutton select-b-composition-num-ok" style="display: none">设定</a>
                </div>
            </div>
        </div>
    </div>
</div>
